﻿package Util
{
	
	/**
	 * ...
	 * @author ...
	 */
	public class Utility 
	{
		
		public function Utility() 
		{
			
		}
		
		/** 
		* Generate a random number
		* @return Random Number
		* @error throws Error if low or high is not provided
		*/  
		public static function randomNumber(low:Number=NaN, high:Number=NaN):Number
		{
			var low:Number = low;
			var high:Number = high;

			return Math.round(Math.random() * (high - low)) + low;
		}

		
	}
	
}